<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('巩固项目（上月待巩固）')"/>
    <th:block th:include="include :: select2-css"/>
</head>
<body>
<div class="main-content">
    <form id="from-consolidate-add" class="form-horizontal">
        <div class="row">
            <tr th:each="question : ${list}">
                <td th:text="${question.reachTheStandard}">Onions</td>
            </tr>
        </div>
    </form>
</div>

<div class="row">
    <div class="col-sm-offset-5 col-sm-10">
        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存
        </button>&nbsp;
        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭
        </button>
    </div>
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: select2-js"/>
<script>

    /* 老师保存巩固项目 */
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(ctx + "/business/childSchedule/addConsolidate", $('#from-consolidate-add').serialize());
        }
    }

</script>
</body>
</html>